package com.ruoyi.shop.service.impl;

import com.ruoyi.shop.domain.Address;
import com.ruoyi.shop.mapper.AddressMapper;
import com.ruoyi.shop.service.IAddressService;
import org.apache.commons.math3.analysis.function.Add;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddressServiceImpl implements IAddressService {
    @Autowired
    private AddressMapper addressMapper;

    @Override
    public Address getAddressInfo(Long id) {
        Address adr = addressMapper.getAddressInfo(id);
        return adr;
    }
}
